<body>
	<div class="subnav">
		<div class="content-menu ib-a blue line-x">
			<a href='javascript:;' class="on"><em>分类列表</em></a><span>|</span><a
				href='/Focus/addCate/'><em>添加分类</em></a>
		</div>
	</div>
	<div class="pad_10">
		<div class="table-list">
			<form name="myform" action="/Focus/listorder/" method="post">
				<table width="100%" cellspacing="0">
					<thead>
						<tr>
							<th width="10%">序号</th>
							<th width="10%" align="left">分类名称</th>
							<th width="10%" align="left">宽度</th>
							<th width="20%" align="left">高度</th>
							<th width="15%">管理操作</th>
						</tr>
					</thead>
					<tbody>
						<?php
						if(!empty($list)){
						  foreach ($list as $val) { 
						?>
						<tr>
							<td width="10%" align="center">
								<?php echo $val['FocusCate']['id'] ?>
							</td>
							<td width="10%">
								<?php echo $val['FocusCate']['name'] ?>
							</td>
							<td width="10%">
								<?php echo $val['FocusCate']['width'] ?>
							</td>
							<td width="10%">
								<?php echo $val['FocusCate']['height'] ?>
							</td>
							<td width="15%" align="center"><a href="javascript:;"
								onclick="cate_edit(<?php echo $val['FocusCate']['id'] ?>)">修改</a>
								| <a href="javascript:;"
								onclick="cate_delete(<?php echo $val['FocusCate']['id'] ?>)">删除</a>
							</td>
						</tr>
						<?php } } ?>
					</tbody>
				</table>
				<div id="pages">
					<?php echo $this->Page->show($perpage, $total, $curpage, 10, '/Focus/cate/page/', 2); ?>
				</div>
			</form>
		</div>
	</div>
</body>
<script type="text/javascript">
<!--
	$(document).ready(function() {
		window.top.$('#display_center_id').css('display', 'none');
	});
//-->
</script>